package com.shanzmoo.base.util;

import java.util.List;

/**
 * 基础 redis key 工具类
 *
 * @author： Gzhao 2021/3/10
 */
public abstract class BaseRedisKeyUtils {

    /**
     * redis根目录
     */
    public static String REDIS_BAST_ROOT = "szm:";

    protected BaseRedisKeyUtils(){}

    protected static String installBaseKey(List<String> strList) {
        StringBuilder stb = new StringBuilder(REDIS_BAST_ROOT);
        for (String s : strList) {
            stb.append(s);
        }
        return stb.toString();
    }
}
